package com.bookcity.front.webfront.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 书籍标签对应对象 booklabel
 *
 * @author ruoyi
 * @date 2023-05-07
 */
public class Booklabel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 书籍号 */
    @Excel(name = "书籍号")
    private Long bookid;

    /** 标签号 */
    @Excel(name = "标签号")
    private Long labid;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBookid(Long bookid)
    {
        this.bookid = bookid;
    }

    public Long getBookid()
    {
        return bookid;
    }
    public void setLabid(Long labid)
    {
        this.labid = labid;
    }

    public Long getLabid()
    {
        return labid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("bookid", getBookid())
                .append("labid", getLabid())
                .toString();
    }
}